package com.nkym.wypan.model.req.userfile;/*
 * @ClassName FileRenameReq
 * @Desc TODO
 * @Author 19637
 * @Date 2023/6/10 12:10
 * @Version 1.0
 */

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
public class FileRenameReq {
    /**
     * 上级文件夹ID，父文件夹为0
     */

    @NotNull(message = "文件Id不能为空")
    private Long fileId;

    @NotBlank(message = "新文件名不能为空")
    private String newFilename;


}
